package com.itheima.service;

import com.itheima.domain.User;

import java.util.List;

public interface UserService {
     List <User> findAll(Integer pageNum,Integer pageSize)throws Exception ;

    //根据邮箱和密码登录
    User findEmailAndPwd(String email, String password)throws Exception;

}
